package cn.project.lemontree.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel
public class Task  implements Serializable {
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "任务序列号")
    private Integer taskId;
    @ApiModelProperty(value = "任务主题")
    private String theme;
    @ApiModelProperty(value = "任务内容")
    private String ddesc;
    @ApiModelProperty(value = "任务状态")
    private Integer stat;
    @ApiModelProperty(value = "创建时间",hidden = true)
    private String createTime;
    @ApiModelProperty(value = "结束时间")
    private String endTime;
    @ApiModelProperty(value = "老师序列号")
    private Integer teacherId;
    @TableLogic
    @ApiModelProperty(hidden = true)
    private Integer deleted;
    @TableField(exist = false)
    private Teacher teacher;

}
